@prefix: keqing;

.@{prefix}-tool {
    padding: 0 1rem;
    color: #c2cffc;

    &:hover > .@{prefix}-tool-box {
        display: flex;
    }
}

.@{prefix}-tool-header {
    width: 100%;
    height: 100%;

    &:hover {
        cursor: pointer;
        background-color: #292929;
    }
}

.@{prefix}-tool-box {
    position: absolute;
    z-index: 99;
    display: none;
    top: 40px;
    width: 300px;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #393939;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px #000;

    li {
        width: 130px;
        padding: 5px;
        margin: 5px 0;
        border-radius: 5px;
        list-style: none;
        &:hover {
            cursor: pointer;
            background-color: #3f3e40;
        }
    }
}
